package com.xs.project.service;

import com.xs.project.common.Result;
import com.xs.project.pojo.vo.XcCourseReq;
import com.xs.project.pojo.vo.XsCourseSubReq;
import com.xs.project.pojo.vo.resp.CourseSubResp;
import com.xs.project.pojo.vo.resp.XcCourseResp;

import java.util.List;

public interface ICourseManagerService {
    Result<List<XcCourseResp>> selectCourseList(XcCourseReq request);

    Boolean updateCourseList(XcCourseResp request);

    Boolean insertCourseList(XcCourseResp request);

    Result<List<CourseSubResp>> selectCourseSubList(XsCourseSubReq request);

    Boolean updateCourseSubList(CourseSubResp request);

    Boolean insertCourseSubList(CourseSubResp request);

    Boolean deleteCourseSubList(Integer id);
}
